package xyz.zhouzhousag.server.pojo.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 帖子表(Topic)实体类
 *
 * @author Yin.Liu8
 * @since 2021-09-26 16:21:22
 */
public class Topic implements Serializable {
    private static final long serialVersionUID = 517511252348394678L;
    /**
     * 文章ID
     */
    private Integer topicId;
    /**
     * 父板块
     */
    private String ptab;
    /**
     * 版块
     */
    private String tab;
    /**
     * 标题
     */
    private String title;
    /**
     * 标签
     */
    private String tag;
    /**
     * 正文
     */
    private String content;
    /**
     * 摘录
     */
    private String excerpt;
    /**
     * 创建时间
     */
    private Date createDate;
    /**
     * 更新时间
     */
    private Date updateDate;
    /**
     * 最后回复时间，用于排序
     */
    private Date lastReplyTime;
    /**
     * 最后回复用户
     */
    private String lastReplyAuthor;
    /**
     * 浏览量
     */
    private Integer viewCount;
    /**
     * 作者
     */
    private String author;
    /**
     * 1置顶 0默认
     */
    private Integer top;
    /**
     * 1精华 0默认
     */
    private Integer good;
    /**
     * 1显示 0不显示
     */
    private Integer showStatus;
    /**
     * 回复数量
     */
    private Integer replyCount;
    /**
     * 1删除 0默认
     */
    private Integer isDelete;
    /**
     * 文章内容标签是否被统计过 1是 0否默认
     */
    private Integer tagIsCount;
    /**
     * 点赞
     */
    private Integer postGoodCount;
    /**
     * 踩数
     */
    private Integer postBadCount;
    /**
     * 文章状态 1000:有效 1100:无效 1200:未生效
     */
    private String statusCd;
    /**
     * 节点编码
     */
    private String nodeSlug;
    /**
     * 节点名称
     */
    private String nodeTitle;
    /**
     * 备注
     */
    private String remark;
    /**
     * 头图
     */
    private String avatar;
    /**
     * url
     */
    private String url;


    public Integer getTopicId() {
        return topicId;
    }

    public void setTopicId(Integer topicId) {
        this.topicId = topicId;
    }

    public String getPtab() {
        return ptab;
    }

    public void setPtab(String ptab) {
        this.ptab = ptab;
    }

    public String getTab() {
        return tab;
    }

    public void setTab(String tab) {
        this.tab = tab;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getExcerpt() {
        return excerpt;
    }

    public void setExcerpt(String excerpt) {
        this.excerpt = excerpt;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Date getLastReplyTime() {
        return lastReplyTime;
    }

    public void setLastReplyTime(Date lastReplyTime) {
        this.lastReplyTime = lastReplyTime;
    }

    public String getLastReplyAuthor() {
        return lastReplyAuthor;
    }

    public void setLastReplyAuthor(String lastReplyAuthor) {
        this.lastReplyAuthor = lastReplyAuthor;
    }

    public Integer getViewCount() {
        return viewCount;
    }

    public void setViewCount(Integer viewCount) {
        this.viewCount = viewCount;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public Integer getTop() {
        return top;
    }

    public void setTop(Integer top) {
        this.top = top;
    }

    public Integer getGood() {
        return good;
    }

    public void setGood(Integer good) {
        this.good = good;
    }

    public Integer getShowStatus() {
        return showStatus;
    }

    public void setShowStatus(Integer showStatus) {
        this.showStatus = showStatus;
    }

    public Integer getReplyCount() {
        return replyCount;
    }

    public void setReplyCount(Integer replyCount) {
        this.replyCount = replyCount;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Integer getTagIsCount() {
        return tagIsCount;
    }

    public void setTagIsCount(Integer tagIsCount) {
        this.tagIsCount = tagIsCount;
    }

    public Integer getPostGoodCount() {
        return postGoodCount;
    }

    public void setPostGoodCount(Integer postGoodCount) {
        this.postGoodCount = postGoodCount;
    }

    public Integer getPostBadCount() {
        return postBadCount;
    }

    public void setPostBadCount(Integer postBadCount) {
        this.postBadCount = postBadCount;
    }

    public String getStatusCd() {
        return statusCd;
    }

    public void setStatusCd(String statusCd) {
        this.statusCd = statusCd;
    }

    public String getNodeSlug() {
        return nodeSlug;
    }

    public void setNodeSlug(String nodeSlug) {
        this.nodeSlug = nodeSlug;
    }

    public String getNodeTitle() {
        return nodeTitle;
    }

    public void setNodeTitle(String nodeTitle) {
        this.nodeTitle = nodeTitle;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

}

